package com.msb.servicemap.service;

import com.msb.commons.response.ResponseResult;
import com.msb.servicemap.remote.FalconServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @Author: chshh
 * @version: 1.0
 */
@Service
public class FalconServiceService {
    @Autowired
    private FalconServiceClient falconServiceClient;
    /**
     * 创建服务
     * @param name
     * @return
     */
    public ResponseResult add(String name){
        return falconServiceClient.add(name);
    }
}
